﻿using WMS.FC.Domain.PersistenceObject.Business;

namespace WMS.FC.Domain.Repository
{
    public interface IStationRepository : IRepositoryBase
    {
        /// <summary>
        /// 获取站台
        /// </summary>
        /// <param name="lineCode"></param>
        /// <param name="stationCode"></param>
        /// <returns></returns>
        Task<StationPO?> GetStation(string lineCode, string stationCode);

        /// <summary>
        /// 获取目标站台列表
        /// </summary>
        /// <param name="lineCode"></param>
        /// <param name="stationCode"></param>
        /// <returns></returns>
        Task<List<StationPO>> GetToStationList(string lineCode, string stationCode);

        /// <summary>
        /// 获取目标设备列表
        /// </summary>
        /// <param name="lineCode"></param>
        /// <param name="stationCode"></param>
        /// <returns></returns>
        Task<List<EquipmentPO>> GetToEquipmentList(string lineCode, string stationCode);
    }
}
